home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / comp.mail.mime-meta-faq < prev    next >
Encoding:
Text File  |  1995-04-11  |  9.9 KB  |  301 lines

  1.  
  2. Archive-Name: mail/mime-faq/mime0
  3. Version: $Id: mime0,v 1.1 1995/02/26 11:18:14 jsweet Rel $
  4. Posting-Frequency: monthly
  5.  
  6. --
  7. =======================
  8. comp.mail.mime meta-FAQ
  9. =======================
  10. Help for MIME problems
  11. ~~~~~~
  12. --
  13.  
  14. Contents
  15. ~~~~~~~~
  16.   1)  Explanation
  17.   2)  About the MIME FAQ
  18.   3)  Conventions
  19.   4)  Sample Problem Scenarios
  20.   5)  Where else to find the MIME FAQ
  21.  
  22. --
  23.  
  24. 1) Explanation
  25. --------------
  26. This is the comp.mail.mime meta-FAQ.  It's for those who have
  27. unusually bad problems in dealing with MIME, and thus are unable to
  28. read the comp.mail.mime FAQ articles, even though they're essentially
  29. plain text.
  30.  
  31. This meta-FAQ also offers some general help for those who have 
  32. various kinds of problems reading MIME messages.
  33. --
  34.  
  35. 2) About the MIME FAQ
  36. ---------------------
  37. The comp.mail.mime FAQ itself, aka the MIME FAQ, attempts to answer
  38. frequently asked questions about MIME, the multipurpose and
  39. multi-media standard for Internet mail.
  40.  
  41. The MIME FAQ is divided into three parts, using the MIME type
  42. "message/partial".  That usually means nothing to MIME-challenged news
  43. readers and mail user agents, which is usually just fine.  The MIME
  44. FAQ is really just like an ordinary multipart FAQ---it uses plain
  45. US-ASCII text and can be read like any other ordinary USENET article.
  46.  
  47. So ordinarily, the MIME FAQ is rendered as ordinary plain-text news or
  48. mail, which is fine.  However, with mis-installed, incomplete, or
  49. broken software, there are sometimes special problems encountered with
  50. MIME messages.  While this meta-FAQ can't deal with all possible
  51. problems, this meta-FAQ does enumerate some general scenarios that may
  52. help you to understand whatever difficulties you're having.
  53.  
  54. Once again, for emphasis: the MIME FAQ is really just plain US-ASCII
  55. text.  You should be able to read it one way or another.  The best
  56. way, of course, is to get yourself some _working_ MIME-capable
  57. software.  The MIME FAQ is a good source of information for finding
  58. such software---assuming that you're able to read the MIME FAQ!
  59.  
  60. If not, read on...
  61. --
  62.  
  63. 3) Conventions
  64. --------------
  65. In this note, pointers to resources available via the Internet, such
  66. as references to FTPable goodies, appear in WWW URL format.  URLs
  67. beginning with "ftp:" refer to FTP sites.  For example:
  68.  
  69. ftp://domain.name/path/to/package
  70.  
  71. Those with FTP access, but without WWW access, may treat such
  72. references as follows:
  73.  
  74. 1. Log into host domain.name using anonymous FTP
  75. 2. Look for /path/to/package
  76.  
  77. An FTP reference usually lists only the distribution site; please
  78. try your nearest FTP archive first.  Archie may be of some help
  79. here.
  80.  
  81. URLs beginning with "http:" refer to WWW servers.  URLs beginning
  82. with "gopher:" refer to gopher servers.
  83.  
  84. Internet browsing tools, such as Mosaic, know about URLs.
  85. --
  86.  
  87. 4) Sample Problem Scenarios
  88. ---------------------------
  89. If you have problems reading a message in MIME format, it might be for
  90. any of the reasons presented in the scenarios below.  In the case of
  91. the MIME FAQ in particular, Scenario 7 may be especially meaningful.
  92.  
  93.  
  94. Scenario 1:
  95.  
  96. You have mis-installed, incomplete, or broken software, and it
  97. absolutely refuses to deal properly with a MIME message of any sort.
  98.  
  99. You're not necessarily entirely out of luck.  Your choices are to fix
  100. or to replace your software.  There are many options available for
  101. doing this, some of which are covered in the scenarios that follow.
  102.  
  103. To overcome the immediate problem, you might try to bypass your
  104. software entirely, and look at the message in its "raw" state.
  105.  
  106. To read a raw message, save the message to a text file any way you
  107. can, and use your favorite text editor (emacs, vi, or whatever) to
  108. read the text file.
  109.  
  110.  
  111. Scenario 2:
  112.  
  113. Your mail system outsmarted itself--it can handle some MIME stuff,
  114. but not whatever it is you received.  
  115.  
  116. For this, you'll either need a smarter mail system, or you'll need to
  117. tell the mail system how to handle whatever's in the message, or
  118. you'll need to defeat the mail system entirely, and look at the
  119. message in its "raw" state, as described in Scenario 1.  Scenario 4,
  120. below, may offer some help too.
  121.  
  122.  
  123. Scenario 3:
  124.  
  125. You received a "MIME-like" message that's almost, but not quite,
  126. entirely unlike a real MIME message.  It's looks similar enough to a
  127. real MIME message that it breaks your mail software.  The SunOS
  128. "mailtool" is notorious for sending such MIME-like messages.
  129.  
  130. Conversion tools do exist for certain situations, e.g. sun2mime or
  131. sun-to-mime.  Some work, some don't.  Whatever you find, it's probably
  132. worth a try.  Otherwise, you'll either have to read the message with
  133. the same mail program that generated such a thing, or content yourself
  134. with the raw message.
  135.  
  136.  
  137. Scenario 4:
  138.  
  139. Your mail system doesn't understand MIME stuff at all.  
  140.  
  141. For this, you must either content yourself with the "raw" message, or
  142. you can try to track down some tools to help you.  From John Gardiner
  143. Myers <jgm+@CMU.EDU>, we have this advice:
  144.  
  145.     A minimalist MIME-reading program, munpack, is available from
  146.     this URL:
  147.   
  148.       ftp://ftp.andrew.cmu.edu/pub/mpack/
  149.   
  150.     (i.e. use anonymous FTP to site ftp.andrew.cmu.edu, and look
  151.     in the directory /pub/mpack.)
  152.   
  153.     The munpack program reads MIME messages and writes the decoded
  154.     parts out to files.  Versions are available for Unix, MS-DOS,
  155.     Macintosh, and Amiga platforms.
  156.  
  157.     In short, munpack is the MIME equivalent of uudecode/binhex.  See
  158.     part 2 of the MIME FAQ for additional information about the mpack
  159.     tool suite.
  160.  
  161.     To decode a MIME message, first save it to a text file.  If
  162.     possible, save it with all headers included.  Munpack can decode
  163.     some MIME files when the headers are missing or incomplete, other
  164.     files it cannot decode without having the information in the
  165.     headers.  In general, messages which have a statement at the
  166.     beginning that they are in MIME format can be decoded without the
  167.     headers.  Messages which have been split into multiple parts
  168.     generally require all headers in order to be reassembled and
  169.     decoded.
  170.  
  171.     Some LAN-based mail systems and some mail providers (including
  172.     America Online, as of the writing of this document) place the mail
  173.     headers at the bottom of the message, instead of at the top of the
  174.     message.  If you are having problems decoding a MIME message on
  175.     such a system, you need to convert the mail back into the standard
  176.     format by removing the system's nonstandard headers and moving the
  177.     standard Internet headers to the top of the message (separated
  178.     from the message body with a blank line).
  179.  
  180.     There must be exactly one message per file.  Munpack cannot deal
  181.     with multiple messages in a single file, to decode things
  182.     correctly it must know when one message ends and the next one
  183.     begins.
  184.  
  185. See also Scenario 7, below.
  186.  
  187.  
  188. Scenario 5:
  189.  
  190. You don't have all the necessary equipment to listen to an audio part,
  191. or to view a graphical part, or to read text written in a foreign
  192. character set.  
  193.  
  194. You're out of luck here; you can handle a lot of MIME stuff on a plain
  195. old 24x80 ASCII terminal, but let's face it: if you're stuck with
  196. something like that, YOU LOSE.  If someone asks you how to listen to
  197. an audio message on a 24x80 ASCII terminal, cruel laughter may help to
  198. enlighten the penitent.  ;-)
  199.  
  200.  
  201. Scenario 6:
  202.  
  203. You _do_ have the necessary equipment to listen to an audio part, or
  204. to view a graphical part, such as an audio capable workstation or an
  205. X terminal, but your software doesn't know how to deal with whatever
  206. those kinds of MIME contents are.
  207.  
  208. You may need additional software, such as xv, or audiotool, or
  209. whatever.  If that software came with neither your hardware nor your
  210. MIME-capable mail user agent or news reader, then you need to go
  211. treasure hunting on the Internet, or get it from some commercial
  212. source.  After finding and installing that software, you may also have
  213. to do some additional configuration of your mail system or news
  214. readers so that they know where to find these additional programs and
  215. how to invoke them.
  216.  
  217. Note: the MIME FAQ itself has no graphics or audio in it; it's really
  218. just plain text.
  219.  
  220.  
  221. Scenario 7:
  222.  
  223. Your mail system doesn't want to show a "message/partial" (like the
  224. comp.mail.mime FAQ articles).  
  225.  
  226. For this, you may need to assemble all the parts of the message
  227. together.
  228.  
  229. - With MH, you can assemble the message together using this
  230.   command:
  231.  
  232.       mhn -store cur:3
  233.  
  234.   Alternatively, you can view the "raw" message by using this
  235.   MH command:
  236.  
  237.       show -noshowproc
  238.  
  239. - With mailcap-based mail user agents, the mailcap file needs an
  240.   entry for message/partial.  One entry, contributed by Tim Goodwin,
  241.   is this:
  242.  
  243.       message/partial; showpartial %s %{id} %{number} %{total}
  244.  
  245.   The showpartial command is part of the metamail distribution.
  246.   Metamail is available from these URLs:
  247.  
  248.   ftp://thumper.bellcore.com/pub/nsb/mm2.7.tar.Z
  249.     [The core metamail software]
  250.   ftp://thumper.bellcore.com/pub/nsb/contrib2.7.tar.Z
  251.     [Contributed software]
  252.   ftp://thumper.bellcore.com/pub/nsb/mm2.7.dos.zip
  253.       [MS-DOS binaries]
  254.  
  255.   For other details about metamail, consult section 2 of the MIME FAQ.
  256.  
  257. { Brief advice for other specific mail systems is welcome. }
  258.  
  259.  
  260. Scenario 8:
  261.  
  262. You've saved some MIME messages into files, and you have no idea
  263. how to read them.
  264.  
  265. - Using metamail:
  266.  
  267.   [ Susan Gruber <sgruber@netcom.com> 13-Dec-1994 ]
  268.  
  269.   This is the command that I used to read my files:
  270.  
  271.       metamail -y filename
  272.  
  273. - Using MH:
  274.  
  275.       mhn -show -file filename
  276.  
  277. { Brief advice for other specific mail systems welcome. }
  278. --
  279.  
  280.  
  281. 5) Where else to find the MIME FAQ
  282. ----------------------------------
  283.  
  284.  - Many sites archive news.answers postings, including these:
  285.    
  286.    ftp://ftp.uu.net/usenet/news.answers/mail/mime-faq/
  287.    ftp://rtfm.mit.edu/pub/usenet-by-group/news.answers/mail/mime-faq/
  288.    
  289.    If possible, please try to find a closer site; for example, by
  290.    asking archie for "mime-faq".
  291.    
  292.  
  293.  - Ohio State makes available an automatically generated HTML version:
  294.  
  295.    http://www.cis.ohio-state.edu/text/faq/usenet/mail/mime-faq/top.html
  296.  
  297. ========================================================================
  298.  
  299. [ end of MIME meta-FAQ ]
  300.  
  301.